import {http} from '@/utils/http'

// 添加null
export function addGoods(data:any) {
    return http.post<any>('/admin/goods/addGoods', data)
}

// 修改null
export function updateGoods(data:any) {
    return http.post<any>('/admin/goods/updateGoods', data)
}

// 删除null
export function deleteGoods(id:string) {
    return http.post<any>('/admin/goods/deleteGoods/'+id)
}

// 获取null详情
export function getGoods(id:any) {
    return http.post<any>('/admin/goods/getGoods/'+id)
}

// 获取null分页列表
export function getGoodsPage(data:any) {
    return http.post<any>('/admin/goods/getGoodsPage', data)
}





















